inherited TalonOutForm: TTalonOutForm
  Left = 328
  Top = 131
  BorderStyle = bsDialog
  Caption = #1054#1090#1087#1091#1089#1082' '#1090#1072#1083#1086#1085#1086#1074
  ClientHeight = 573
  ClientWidth = 649
  Constraints.MinHeight = 24
  Constraints.MinWidth = 160
  OldCreateOrder = True
  Position = poScreenCenter
  OnClose = FormClose
  OnDestroy = FormDestroy
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object Panel1: TPanel
    Left = 0
    Top = 539
    Width = 649
    Height = 34
    Align = alBottom
    BevelInner = bvRaised
    BevelOuter = bvLowered
    ParentShowHint = False
    ShowHint = False
    TabOrder = 0
    object sbDel: TSpeedButton
      Left = 68
      Top = 5
      Width = 25
      Height = 25
      Hint = #1059#1076#1072#1083#1080#1090#1100' '#1090#1072#1083#1086#1085
      Glyph.Data = {
        76010000424D7601000000000000760000002800000020000000100000000100
        0400000000000001000000000000000000001000000010000000000000000000
        8000008000000080800080000000800080008080000080808000C0C0C0000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
        888888888888888888888000000000000888877777777777788880FFFFFFFFFF
        0888878888888888788880FFFFFFFFFF0888878888888888788880FF00000000
        0088878877777777778880FF09999999908887887FFFFFFFF78880FF09999999
        908887887FFFFFFFF78880FF000000000088878877777777778880FFFFFFFFFF
        0888878888888888788880F0F00F000F0888878787787778788880FFFFFFFFFF
        0888878888888888788880F000F0FFFF0888878777878888788880FFFFFFF000
        0888878888888777788880F000FFF0808888878777888787888880FFFFFFF008
        8888878888888778888880000000008888888777777777888888}
      NumGlyphs = 2
      ParentShowHint = False
      ShowHint = True
      OnClick = sbDelClick
    end
    object sbAdd: TSpeedButton
      Left = 37
      Top = 5
      Width = 25
      Height = 25
      Hint = #1044#1086#1073#1072#1074#1080#1090#1100' '#1090#1072#1083#1086#1085' '#1089' '#39#1053#1086#1084#1077#1088' + 1'#39
      Glyph.Data = {
        76010000424D7601000000000000760000002800000020000000100000000100
        0400000000000001000000000000000000001000000010000000000000000000
        8000008000000080800080000000800080008080000080808000C0C0C0000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888800008
        88888888888777788888800000009900088887777777FF77788880FFFFF0990F
        088887888887FF78788880FF00009900008887887777FF77778880FF09999999
        908887887FFFFFFFF78880FF09999999908887887FFFFFFFF78880FF00009900
        008887887777FF77778880F0FFF0990F088887878887FF78788880FFFFF0990F
        088887888887FF78788880F0F0F0000F0888878787877778788880FFFFFFFFFF
        0888878888888888788880F000F0FFFF0888878777878888788880FFFFFFF000
        0888878888888777788880F000FFF0808888878777888787888880FFFFFFF008
        8888878888888778888880000000008888888777777777888888}
      NumGlyphs = 2
      ParentShowHint = False
      ShowHint = True
      OnClick = sbAddClick
    end
    object OilHelpButton1: TOilHelpButton
      Left = 6
      Top = 5
      Width = 25
      Height = 25
      AllowAllUp = True
      GroupIndex = 1001
      Glyph.Data = {
        36040000424D3604000000000000360000002800000010000000100000000100
        2000000000000004000000000000000000000000000000000000FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF007B7B7B000000FF007B7B7B00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF0000FFFF00FFFFFF0000FFFF000000FF000000FF000000FF0000FF
        FF00FFFFFF0000FFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF0000FFFF00FFFFFF0000FFFF00FFFFFF007B7B7B000000FF007B7B7B00FFFF
        FF0000FFFF00FFFFFF0000FFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000FF
        FF00FFFFFF0000FFFF00FFFFFF0000FFFF00FFFFFF0000FFFF00FFFFFF0000FF
        FF00FFFFFF0000FFFF00FFFFFF0000FFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF0000FFFF00FFFFFF0000FFFF00FFFFFF0000FFFF000000FF0000FFFF00FFFF
        FF0000FFFF00FFFFFF0000FFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000FF
        FF00FFFFFF0000FFFF00FFFFFF0000FFFF00FFFFFF000000FF007B7B7B0000FF
        FF00FFFFFF0000FFFF00FFFFFF0000FFFF00FFFFFF00FFFFFF0000FFFF00FFFF
        FF0000FFFF00FFFFFF0000FFFF00FFFFFF0000FFFF000000FF000000FF00FFFF
        FF0000FFFF00FFFFFF0000FFFF00FFFFFF0000FFFF00FFFFFF00FFFFFF0000FF
        FF00FFFFFF0000FFFF00FFFFFF0000FFFF00FFFFFF0000FFFF000000FF000000
        FF00FFFFFF0000FFFF00FFFFFF0000FFFF00FFFFFF00FFFFFF0000FFFF00FFFF
        FF0000FFFF00FFFFFF007B7B7B007B7B7B0000FFFF00FFFFFF007B7B7B000000
        FF000000FF00FFFFFF0000FFFF00FFFFFF0000FFFF00FFFFFF00FFFFFF0000FF
        FF00FFFFFF0000FFFF000000FF000000FF00FFFFFF0000FFFF007B7B7B000000
        FF000000FF0000FFFF00FFFFFF0000FFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF0000FFFF00FFFFFF000000FF000000FF007B7B7B00FFFFFF007B7B7B000000
        FF000000FF00FFFFFF0000FFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000FF
        FF00FFFFFF0000FFFF00FFFFFF000000FF000000FF000000FF000000FF000000
        FF00FFFFFF0000FFFF00FFFFFF0000FFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF0000FFFF00FFFFFF0000FFFF00FFFFFF000000FF000000FF000000FF00FFFF
        FF0000FFFF00FFFFFF0000FFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF0000FFFF00FFFFFF0000FFFF00FFFFFF0000FFFF00FFFFFF0000FF
        FF00FFFFFF0000FFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF0000FFFF00FFFFFF0000FFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00}
      AnimateTime = 200
      Lines.Strings = (
        '{12}{RED}\B'#1054#1090#1087#1091#1089#1082' '#1090#1072#1083#1086#1085#1086#1074' '#1080' '#1074#1099#1087#1080#1089#1082#1072' '#1085#1072#1083#1086#1075#1086#1074#1099#1093' '#1085#1072#1082#1083#1072#1076#1085#1099#1093'\D'
        ''
        '  '#1053#1072#1095#1080#1085#1072#1103' '#1089' 100-'#1081' '#1074#1077#1088#1089#1080#1080' '#1054#1080#1083' '#1080#1079' "'#1054#1090#1087#1091#1089#1082#1072' '#1090#1072#1083#1086#1085#1086#1074'" '#1085#1072#1083#1086#1075#1086#1074#1072#1103
        #1085#1072#1082#1083#1072#1076#1085#1072#1103' '#1089#1086#1079#1076#1072#1077#1090#1089#1103' '#1089#1090#1088#1086#1075#1086' '#1087#1086' '#1086#1090#1087#1091#1089#1082#1091' '#1089' '#1091#1095#1077#1090#1086#1084' '#1074#1099#1087#1080#1089#1072#1085#1099#1093' '
        
          #1086#1087#1083#1072#1090'. '#1069#1090#1086' '#1086#1079#1085#1072#1095#1072#1077#1090', '#1095#1090#1086' '#1077#1089#1083#1080' '#1074' '#1086#1087#1083#1072#1090#1077' '#1073#1099#1083#1072' '#1074#1099#1087#1080#1089#1072#1085#1072' '#1085#1072#1083#1086#1075#1086#1074#1072#1103' '#1085 +
          #1072
        
          #1087#1086#1079#1080#1094#1080#1080' '#1076#1086#1075#1086#1074#1086#1088#1072' '#1082#1086#1090#1086#1088#1099#1077' '#1089#1077#1081#1095#1072#1089' '#1073#1091#1076#1091#1090' '#1086#1090#1087#1091#1089#1082#1072#1090#1100#1089#1103', '#1090#1086' '#1085#1072#1083#1086#1075#1086#1074#1072#1103' ' +
          #1074' '
        '"'#1054#1090#1087#1091#1089#1082#1077' '#1090#1072#1083#1086#1085#1086#1074'" '#1089#1086#1079#1076#1072#1085#1072' '#1085#1077' '#1073#1091#1076#1077#1090'.'
        
          '  '#1045#1089#1083#1080' '#1087#1086#1089#1083#1077' '#1086#1090#1087#1091#1089#1082#1072' '#1073#1099#1083#1072' '#1079#1072#1074#1077#1076#1077#1085#1072' '#1086#1087#1083#1072#1090#1072' '#1089' '#1085#1072#1083#1086#1075#1086#1074#1086#1081', '#1087#1086#1089#1083#1077' '#1095#1077#1075 +
          #1086' '
        #1074#1099' '#1086#1087#1103#1090#1100' '#1079#1072#1093#1086#1076#1080#1090#1077' '#1074' '#1086#1090#1087#1091#1089#1082' '#1095#1090#1086#1073#1099' '#1076#1086#1073#1072#1074#1080#1090#1100'/'#1091#1076#1072#1083#1080#1090#1100' '#1090#1072#1083#1086#1085#1099', '#1090#1086' '#1076#1083#1103
        #1082#1086#1088#1077#1082#1090#1085#1086#1089#1090#1080' '#1074' '#1085#1072#1083#1086#1075#1086#1074#1099#1093' '#1089#1083#1077#1076#1091#1077#1090' '#1091#1076#1072#1083#1080#1090#1100' '#1074#1089#1077' '#1085#1072#1083#1086#1075#1086#1074#1099#1077' '#1082#1086#1090#1086#1088#1099#1077
        #1076#1072#1090#1086#1081' '#1073#1086#1083#1100#1096#1077' '#1086#1090#1087#1091#1089#1082#1072'.')
      HeaderFont.Charset = DEFAULT_CHARSET
      HeaderFont.Color = clWindowText
      HeaderFont.Height = -11
      HeaderFont.Name = 'MS Sans Serif'
      HeaderFont.Style = []
      Animate = True
      UseCurrentDir = False
      FormOrientation = fBottomToTop
      Images = MainForm.il
      ImageIndex = 0
    end
    object BitBtn1: TBitBtn
      Left = 99
      Top = 5
      Width = 104
      Height = 25
      Caption = #1059#1073#1088#1072#1090#1100' '#1040#1074#1090#1086
      TabOrder = 0
      OnClick = BitBtn1Click
      Glyph.Data = {
        76010000424D7601000000000000760000002800000020000000100000000100
        0400000000000001000000000000000000001000000010000000000000000000
        800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00500005000555
        555557777F777555F55500000000555055557777777755F75555005500055055
        555577F5777F57555555005550055555555577FF577F5FF55555500550050055
        5555577FF77577FF555555005050110555555577F757777FF555555505099910
        555555FF75777777FF555005550999910555577F5F77777775F5500505509990
        3055577F75F77777575F55005055090B030555775755777575755555555550B0
        B03055555F555757575755550555550B0B335555755555757555555555555550
        BBB35555F55555575F555550555555550BBB55575555555575F5555555555555
        50BB555555555555575F555555555555550B5555555555555575}
      NumGlyphs = 2
    end
    object bbCancel: TBitBtn
      Left = 558
      Top = 5
      Width = 85
      Height = 25
      Caption = '&'#1054#1090#1084#1077#1085#1072
      ModalResult = 2
      TabOrder = 2
      Glyph.Data = {
        DE010000424DDE01000000000000760000002800000024000000120000000100
        0400000000006801000000000000000000001000000010000000000000000000
        80000080000000808000800000008000800080800000C0C0C000808080000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
        333333333333333333333333000033338833333333333333333F333333333333
        0000333911833333983333333388F333333F3333000033391118333911833333
        38F38F333F88F33300003339111183911118333338F338F3F8338F3300003333
        911118111118333338F3338F833338F3000033333911111111833333338F3338
        3333F8330000333333911111183333333338F333333F83330000333333311111
        8333333333338F3333383333000033333339111183333333333338F333833333
        00003333339111118333333333333833338F3333000033333911181118333333
        33338333338F333300003333911183911183333333383338F338F33300003333
        9118333911183333338F33838F338F33000033333913333391113333338FF833
        38F338F300003333333333333919333333388333338FFF830000333333333333
        3333333333333333333888330000333333333333333333333333333333333333
        0000}
      NumGlyphs = 2
    end
    object bbOk: TBitBtn
      Left = 468
      Top = 5
      Width = 85
      Height = 25
      Caption = #1055#1088#1080#1085#1103#1090#1100
      TabOrder = 1
      OnClick = bbOkClick
      Glyph.Data = {
        DE010000424DDE01000000000000760000002800000024000000120000000100
        0400000000006801000000000000000000001000000010000000000000000000
        80000080000000808000800000008000800080800000C0C0C000808080000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
        3333333333333333333333330000333333333333333333333333F33333333333
        00003333344333333333333333388F3333333333000033334224333333333333
        338338F3333333330000333422224333333333333833338F3333333300003342
        222224333333333383333338F3333333000034222A22224333333338F338F333
        8F33333300003222A3A2224333333338F3838F338F33333300003A2A333A2224
        33333338F83338F338F33333000033A33333A222433333338333338F338F3333
        0000333333333A222433333333333338F338F33300003333333333A222433333
        333333338F338F33000033333333333A222433333333333338F338F300003333
        33333333A222433333333333338F338F00003333333333333A22433333333333
        3338F38F000033333333333333A223333333333333338F830000333333333333
        333A333333333333333338330000333333333333333333333333333333333333
        0000}
      NumGlyphs = 2
    end
    object import: TBitBtn
      Left = 208
      Top = 5
      Width = 27
      Height = 25
      Hint = #1048#1084#1087#1086#1088#1090' '#1090#1072#1083#1086#1085#1086#1074
      BiDiMode = bdLeftToRight
      ParentBiDiMode = False
      ParentShowHint = False
      ShowHint = True
      TabOrder = 3
      OnClick = importClick
      Glyph.Data = {
        36030000424D3603000000000000360000002800000010000000100000000100
        1800000000000003000000000000000000000000000000000000008080008080
        0080800080800000000080800080800080800080800080800080800000000080
        8000808000808000808000808000808000808000808000000000808000808000
        8080008080008080008080000000008080008080008080008080008080008080
        0080800000000000FF0000000080800080800080800080800000000000FF0000
        000080800080800080800080800080800080800000000000FF00000000808000
        80800080800080800000000000FF000000008080008080008080008080008080
        0000000000FF0000FF0000FF0000000080800080800000000000FF0000FF0000
        FF0000000080800080800080800080800000000000FF0000FF0000FF00000000
        80800080800000000000FF0000FF0000FF000000008080008080008080000000
        0000FF0000FF0000FF0000FF0000FF0000000000000000FF0000FF0000FF0000
        FF0000FF0000000080800080800000000000FF0000FF0000FF0000FF0000FF00
        00000000000000FF0000FF0000FF0000FF0000FF0000000080800000000000FF
        0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF0000
        FF0000FF0000FF0000000000000000000000000000000000FF00000000000000
        00000000000000000000000000FF000000000000000000000000008080008080
        0080800000000000FF0000000080800080800080800080800000000000FF0000
        000080800080800080800080800080800080800000000000FF00000000808000
        80800080800080800000000000FF000000008080008080008080008080008080
        0080800000000000FF0000000080800080800080800080800000000000FF0000
        000080800080800080800080800080800080800000000000FF00000000808000
        80800080800080800000000000FF000000008080008080008080008080008080
        0080800000000000FF0000000080800080800080800080800000000000FF0000
        0000808000808000808000808000808000808000000000000000000000808000
        8080008080008080000000000000000000008080008080008080}
      Layout = blGlyphTop
    end
    object Export: TBitBtn
      Left = 240
      Top = 5
      Width = 28
      Height = 25
      Hint = #1042#1099#1075#1088#1091#1079#1082#1072' '#1090#1072#1083#1086#1085#1086#1074
      ParentShowHint = False
      ShowHint = True
      TabOrder = 4
      OnClick = ExportClick
      Glyph.Data = {
        36050000424D3605000000000000360400002800000010000000100000000100
        0800000000000001000000000000000000000001000000000000000000000000
        8000008000000080800080000000800080008080000080808000C0C0C0000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00090909001212
        12001F1F1F002C2C2C003939390045454500525252005F5F5F006C6C6C007878
        780085858500929292009F9F9F00ABABAB00B8B8B800C5C5C500D2D2D200DEDE
        DE00EBEBEB00F8F8F800F0FBFF00A4A0A000C0DCC000F0CAA60000003E000000
        5D0000007C0000009B000000BA000000D9000000F0002424FF004848FF006C6C
        FF009090FF00B4B4FF0000143E00001E5D0000287C0000329B00003CBA000046
        D9000055F000246DFF004885FF006C9DFF0090B5FF00B4CDFF00002A3E00003F
        5D0000547C0000699B00007EBA000093D90000AAF00024B6FF0048C2FF006CCE
        FF0090DAFF00B4E6FF00003E3E00005D5D00007C7C00009B9B0000BABA0000D9
        D90000F0F00024FFFF0048FFFF006CFFFF0090FFFF00B4FFFF00003E2A00005D
        3F00007C5400009B690000BA7E0000D9930000F0AA0024FFB60048FFC2006CFF
        CE0090FFDA00B4FFE600003E1400005D1E00007C2800009B320000BA3C0000D9
        460000F0550024FF6D0048FF85006CFF9D0090FFB500B4FFCD00003E0000005D
        0000007C0000009B000000BA000000D9000000F0000024FF240048FF48006CFF
        6C0090FF9000B4FFB400143E00001E5D0000287C0000329B00003CBA000046D9
        000055F000006DFF240085FF48009DFF6C00B5FF9000CDFFB4002A3E00003F5D
        0000547C0000699B00007EBA000093D90000AAF00000B6FF2400C2FF4800CEFF
        6C00DAFF9000E6FFB4003E3E00005D5D00007C7C00009B9B0000BABA0000D9D9
        0000F0F00000FFFF2400FFFF4800FFFF6C00FFFF9000FFFFB4003E2A00005D3F
        00007C5400009B690000BA7E0000D9930000F0AA0000FFB62400FFC24800FFCE
        6C00FFDA9000FFE6B4003E1400005D1E00007C2800009B320000BA3C0000D946
        0000F0550000FF6D2400FF854800FF9D6C00FFB59000FFCDB4003E0000005D00
        00007C0000009B000000BA000000D9000000F0000000FF242400FF484800FF6C
        6C00FF909000FFB4B4003E0014005D001E007C0028009B003200BA003C00D900
        4600F0005500FF246D00FF488500FF6C9D00FF90B500FFB4CD003E002A005D00
        3F007C0054009B006900BA007E00D9009300F000AA00FF24B600FF48C200FF6C
        CE00FF90DA00FFB4E6003E003E005D005D007C007C009B009B00BA00BA00D900
        D900F000F000FF24FF00FF48FF00FF6CFF00FF90FF00FFB4FF002A003E003F00
        5D0054007C0069009B007E00BA009300D900AA00F000B624FF00C248FF00CE6C
        FF00DA90FF00E6B4FF0014003E001E005D0028007C0032009B003C00BA004600
        D9005500F0006D24FF008548FF009D6CFF00B590FF00CDB4FF00030303000000
        0303030300000003030303030300DA000303030300DA0003030303030300DA00
        0303030300DA0003030303030300DA000303030300DA0003030303030300DA00
        0303030300DA0003030303030300DA000303030300DA0003030300000000DA00
        0000000000DA0000000000DADADADADADADADADADADADADADA000300DADADADA
        DA0000DADADADADA00030300DADADADADA0000DADADADADA0003030300DADADA
        00030300DADADA000303030300DADADA00030300DADADA00030303030300DA00
        0303030300DA0003030303030300DA000303030300DA00030303030303030003
        0303030303000303030303030303000303030303030003030303}
    end
  end
  object Panel2: TPanel
    Left = 0
    Top = 511
    Width = 649
    Height = 28
    Align = alBottom
    BevelOuter = bvNone
    TabOrder = 1
    object Label13: TLabel
      Left = 353
      Top = 10
      Width = 62
      Height = 13
      Caption = #1050#1086#1083#1080#1095#1077#1089#1090#1074#1086':'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      ParentFont = False
    end
    object DBText1: TDBText
      Left = 417
      Top = 10
      Width = 42
      Height = 13
      AutoSize = True
      DataField = 'AMOUNT'
      DataSource = dsSum
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlue
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      ParentFont = False
    end
    object Label14: TLabel
      Left = 465
      Top = 10
      Width = 42
      Height = 13
      Caption = #1051#1080#1090#1088#1072#1078':'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      ParentFont = False
    end
    object DBText2: TDBText
      Left = 513
      Top = 10
      Width = 42
      Height = 13
      AutoSize = True
      DataField = 'LITR'
      DataSource = dsSum
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlue
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      ParentFont = False
    end
    object Label7: TLabel
      Left = 561
      Top = 10
      Width = 33
      Height = 13
      Caption = #1048#1090#1086#1075#1086':'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      ParentFont = False
    end
    object DBText3: TDBText
      Left = 601
      Top = 10
      Width = 42
      Height = 13
      AutoSize = True
      DataField = 'WHOLE'
      DataSource = dsSum
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlue
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      ParentFont = False
    end
    object Edit6: TEdit
      Left = 1
      Top = 2
      Width = 346
      Height = 21
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlue
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      ParentFont = False
      ReadOnly = True
      TabOrder = 0
      Text = #1044#1083#1103' '#1074#1074#1086#1076#1072' '#1090#1072#1083#1086#1085#1086#1074' '#1089#1082#1072#1085#1077#1088#1086#1084' '#1091#1089#1090#1072#1085#1086#1074#1080#1090#1077' '#1082#1091#1088#1089#1086#1088' '#1074' '#1101#1090#1086' '#1087#1086#1083#1077
      OnKeyPress = Edit6KeyPress
    end
  end
  object PanelUp: TPanel
    Left = 0
    Top = 0
    Width = 649
    Height = 77
    Align = alTop
    BevelOuter = bvNone
    TabOrder = 2
    object Label5: TLabel
      Left = 9
      Top = 32
      Width = 26
      Height = 13
      Alignment = taRightJustify
      Caption = #1044#1072#1090#1072
    end
    object Label1: TLabel
      Left = 25
      Top = 8
      Width = 11
      Height = 13
      Alignment = taRightJustify
      Caption = #8470
    end
    object Label4: TLabel
      Left = 180
      Top = 32
      Width = 50
      Height = 13
      Alignment = taRightJustify
      Caption = #1054#1087#1077#1088#1072#1094#1080#1103
    end
    object Label16: TLabel
      Left = 204
      Top = 56
      Width = 26
      Height = 13
      Alignment = taRightJustify
      Caption = #1050#1086#1084#1091
    end
    object sbClearOper: TSpeedButton
      Left = 619
      Top = 28
      Width = 23
      Height = 22
      Flat = True
      Glyph.Data = {
        76010000424D7601000000000000760000002800000020000000100000000100
        0400000000000001000000000000000000001000000010000000000000000000
        80000080000000808000800000008000800080800000C0C0C000808080000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00DDDDDDDDDDDD
        DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD88DDDDDDDD
        88DDDDFFDDDDDDDDFFDDDD888DDDDDD888DDDDFFFDDDDDDFFFDDDDD888DDDD88
        8DDDDDDFFFDDDDFFFDDDDDDD888DD888DDDDDDDDFFFDDFFFDDDDDDDDD888888D
        DDDDDDDDDFFFFFFDDDDDDDDDDD8888DDDDDDDDDDDDFFFFDDDDDDDDDDDD8888DD
        DDDDDDDDDDFFFFDDDDDDDDDDD888888DDDDDDDDDDFFFFFFDDDDDDDDD888DD888
        DDDDDDDDFFFDDFFFDDDDDDD888DDDD888DDDDDDFFFDDDDFFFDDDDD888DDDDDD8
        88DDDDFFFDDDDDDFFFDDDD88DDDDDDDD88DDDDFFDDDDDDDDFFDDDDDDDDDDDDDD
        DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD}
      NumGlyphs = 2
      OnClick = sbClearOperClick
    end
    object sbClearOrg: TSpeedButton
      Left = 619
      Top = 52
      Width = 23
      Height = 22
      Flat = True
      Glyph.Data = {
        76010000424D7601000000000000760000002800000020000000100000000100
        0400000000000001000000000000000000001000000010000000000000000000
        80000080000000808000800000008000800080800000C0C0C000808080000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00DDDDDDDDDDDD
        DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD88DDDDDDDD
        88DDDDFFDDDDDDDDFFDDDD888DDDDDD888DDDDFFFDDDDDDFFFDDDDD888DDDD88
        8DDDDDDFFFDDDDFFFDDDDDDD888DD888DDDDDDDDFFFDDFFFDDDDDDDDD888888D
        DDDDDDDDDFFFFFFDDDDDDDDDDD8888DDDDDDDDDDDDFFFFDDDDDDDDDDDD8888DD
        DDDDDDDDDDFFFFDDDDDDDDDDD888888DDDDDDDDDDFFFFFFDDDDDDDDD888DD888
        DDDDDDDDFFFDDFFFDDDDDDD888DDDD888DDDDDDFFFDDDDFFFDDDDD888DDDDDD8
        88DDDDFFFDDDDDDFFFDDDD88DDDDDDDD88DDDDFFDDDDDDDDFFDDDDDDDDDDDDDD
        DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD}
      NumGlyphs = 2
      OnClick = sbClearOrgClick
    end
    object LblFrom: TLabel
      Left = 191
      Top = 8
      Width = 39
      Height = 13
      Alignment = taRightJustify
      Caption = #1054#1090' '#1082#1086#1075#1086
    end
    object dbdeOutDate: TDBDateEdit
      Left = 42
      Top = 28
      Width = 111
      Height = 21
      DataField = 'OUT_DATE'
      DataSource = TalonOutRefForm.ds
      DirectInput = False
      ButtonWidth = 20
      NumGlyphs = 2
      TabOrder = 0
      OnChange = dbdeOutDateChange
    end
    object dbOutNum: TDBEdit
      Left = 42
      Top = 4
      Width = 111
      Height = 21
      DataField = 'OUT_NUM'
      DataSource = TalonOutRefForm.ds
      TabOrder = 1
    end
    object dbceEdOper: TRxDBComboEdit
      Left = 240
      Top = 28
      Width = 379
      Height = 21
      DataField = 'OPER_NAME'
      DataSource = TalonOutRefForm.ds
      DirectInput = False
      GlyphKind = gkDropDown
      NumGlyphs = 1
      TabOrder = 2
      OnButtonClick = dbceEdOperButtonClick
      OnDblClick = dbceEdOperButtonClick
    end
    object dbceOrgName: TRxDBComboEdit
      Left = 240
      Top = 52
      Width = 379
      Height = 21
      DataField = 'ORG_NAME'
      DataSource = TalonOutRefForm.ds
      DirectInput = False
      GlyphKind = gkDropDown
      NumGlyphs = 1
      TabOrder = 3
      OnButtonClick = dbceOrgNameDblClick
      OnDblClick = dbceOrgNameDblClick
    end
    object dbceDepName: TRxDBComboEdit
      Left = 240
      Top = 4
      Width = 379
      Height = 21
      DataField = 'DEP_NAME'
      DataSource = TalonOutRefForm.ds
      DirectInput = False
      GlyphKind = gkDropDown
      NumGlyphs = 1
      TabOrder = 4
      OnButtonClick = dbceDepNameButtonClick
      OnDblClick = dbceDepNameButtonClick
    end
  end
  object PanelGrid: TPanel
    Left = 0
    Top = 77
    Width = 414
    Height = 434
    Align = alClient
    BevelOuter = bvNone
    TabOrder = 3
    object dbgTalon: TDBGridEh
      Left = 0
      Top = 0
      Width = 414
      Height = 434
      Align = alClient
      DataSource = dsTalon
      FooterColor = clWindow
      FooterFont.Charset = DEFAULT_CHARSET
      FooterFont.Color = clWindowText
      FooterFont.Height = -11
      FooterFont.Name = 'MS Sans Serif'
      FooterFont.Style = []
      PopupMenu = PopupMenu1
      TabOrder = 0
      TitleFont.Charset = DEFAULT_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'MS Sans Serif'
      TitleFont.Style = []
      OnEditButtonClick = dbgTalonEditButtonClick
      OnExit = dbgTalonExit
      Columns = <
        item
          EditButtons = <>
          FieldName = 'SER'
          Footers = <>
          Title.Caption = #1057#1077#1088#1080#1103
          Width = 46
        end
        item
          EditButtons = <>
          FieldName = 'NUM'
          Footers = <>
          Title.Caption = #1053#1086#1084#1077#1088
          Width = 65
        end
        item
          EditButtons = <>
          FieldName = 'NPGRPNAME'
          Footers = <>
          ReadOnly = True
          Title.Caption = #1043#1088#1091#1087#1087#1072' '#1053#1055
          Width = 58
        end
        item
          EditButtons = <>
          FieldName = 'NOMINAL'
          Footers = <>
          ReadOnly = True
          Title.Caption = #1053#1086#1084#1080#1085#1072#1083
          Width = 50
        end
        item
          EditButtons = <>
          FieldName = 'PRICE'
          Footers = <>
          Title.Caption = #1062#1077#1085#1072
          Width = 50
        end
        item
          ButtonStyle = cbsEllipsis
          EditButtons = <>
          FieldName = 'NUMB'
          Footers = <>
          Title.Caption = #1040#1074#1090#1086
          Width = 60
        end
        item
          ButtonStyle = cbsEllipsis
          EditButtons = <>
          FieldName = 'DRIVER'
          Footers = <>
          Title.Caption = #1042#1086#1076#1080#1090#1077#1083#1100
          Width = 84
        end>
    end
  end
  object PanelRight: TPanel
    Left = 414
    Top = 77
    Width = 235
    Height = 434
    Align = alRight
    BevelOuter = bvNone
    TabOrder = 4
    object dbgTalonDetail: TDBGridEh
      Left = 0
      Top = 333
      Width = 235
      Height = 101
      Hint = #1044#1083#1103' '#1087#1088#1086#1089#1084#1086#1090#1088#1072' - '#1076#1074#1086#1081#1085#1086#1081' '#1097#1077#1083#1095#1077#1082' '#1084#1099#1096#1080
      Align = alClient
      Ctl3D = False
      DataSource = dsTalonDetail
      FooterColor = clWindow
      FooterFont.Charset = DEFAULT_CHARSET
      FooterFont.Color = clWindowText
      FooterFont.Height = -11
      FooterFont.Name = 'MS Sans Serif'
      FooterFont.Style = []
      Options = [dgTitles, dgTabs, dgConfirmDelete, dgCancelOnExit]
      ParentCtl3D = False
      TabOrder = 0
      TitleFont.Charset = DEFAULT_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'MS Sans Serif'
      TitleFont.Style = []
      Columns = <
        item
          EditButtons = <>
          FieldName = 'TITLE'
          Footers = <>
          Title.Caption = #1054#1087#1077#1088#1072#1094#1080#1103
          Width = 76
        end
        item
          EditButtons = <>
          FieldName = 'PRIH_DATE'
          Footers = <>
          Title.Caption = #1044#1072#1090#1072
          Width = 73
        end
        item
          EditButtons = <>
          FieldName = 'PRIH_NUM'
          Footers = <>
          Title.Caption = #1053#1086#1084#1077#1088
        end>
    end
    object gbNN: TGroupBox
      Left = 0
      Top = 95
      Width = 235
      Height = 96
      Align = alTop
      Caption = #1053#1072#1083#1086#1075#1086#1074#1072#1103' '#1085#1072#1082#1083#1072#1076#1085#1072#1103
      TabOrder = 1
      object lNN_Num: TLabel
        Left = 8
        Top = 12
        Width = 35
        Height = 13
        Caption = #1085#1086#1084#1077#1088':'
      end
      object dbtNN_Num: TDBText
        Left = 8
        Top = 26
        Width = 59
        Height = 13
        AutoSize = True
        DataField = 'NN_NUM'
        DataSource = TalonOutRefForm.ds
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'MS Sans Serif'
        Font.Style = []
        ParentFont = False
      end
      object Label2: TLabel
        Left = 105
        Top = 12
        Width = 36
        Height = 13
        Caption = #1089#1091#1084#1084#1072':'
      end
      object dbtNN_Sum: TDBText
        Left = 105
        Top = 26
        Width = 58
        Height = 13
        AutoSize = True
        DataField = 'NN_SUM'
        DataSource = TalonOutRefForm.ds
      end
      object LabelValuta: TLabel
        Left = 163
        Top = 26
        Width = 20
        Height = 13
        Caption = #1075#1088#1085'.'
      end
      object LblCapGbNN: TLabel
        Left = 8
        Top = 0
        Width = 112
        Height = 13
        Caption = #1053#1072#1083#1086#1075#1086#1074#1072#1103' '#1085#1072#1082#1083#1072#1076#1085#1072#1103
      end
      object cbNN_Num: TCheckBox
        Left = 7
        Top = 40
        Width = 113
        Height = 17
        Caption = #1053#1077' '#1089#1086#1079#1076#1072#1074#1072#1090#1100' '#1053#1053
        Checked = True
        State = cbChecked
        TabOrder = 0
        OnClick = cbNN_NumClick
      end
      object gbFormRasch: TGroupBox
        Left = 2
        Top = 55
        Width = 231
        Height = 39
        Align = alBottom
        Caption = #1060#1086#1088#1084#1072' '#1088#1072#1089#1095#1077#1090#1072
        TabOrder = 1
        object lFormRash: TLabel
          Left = 9
          Top = 0
          Width = 80
          Height = 13
          Caption = #1060#1086#1088#1084#1072' '#1088#1072#1089#1095#1077#1090#1072
        end
        object cbFormRash: TComboBox
          Left = 4
          Top = 14
          Width = 221
          Height = 21
          Style = csDropDownList
          ItemHeight = 13
          TabOrder = 0
          Items.Strings = (
            #1054#1087#1083#1072#1090#1072' '#1089' '#1088'/'#1089
            #1053#1072#1083#1080#1095#1085#1099#1077
            #1041#1072#1085#1082#1086#1074#1089#1082#1080#1081' '#1095#1077#1082
            #1042#1079#1072#1080#1084#1086#1079#1072#1095#1077#1090
            #1041#1072#1088#1090#1077#1088
            #1057#1086#1073#1089#1090#1074#1077#1085#1085#1099#1077' '#1085#1091#1078#1076#1099)
        end
      end
    end
    object gbDog: TGroupBox
      Left = 0
      Top = 0
      Width = 235
      Height = 95
      Align = alTop
      Caption = #1044#1086#1075#1086#1074#1086#1088
      TabOrder = 2
      object lDogNum: TLabel
        Left = 8
        Top = 12
        Width = 11
        Height = 13
        Caption = #8470
      end
      object lDogDate: TLabel
        Left = 132
        Top = 12
        Width = 26
        Height = 13
        Caption = #1044#1072#1090#1072
      end
      object lDog: TLabel
        Left = 8
        Top = 0
        Width = 44
        Height = 13
        Caption = #1044#1086#1075#1086#1074#1086#1088
      end
      object sbAuto: TSpeedButton
        Left = 105
        Top = 25
        Width = 24
        Height = 21
        Hint = #1055#1086#1083#1091#1095#1080#1090#1100' '#1089#1083#1077#1076#1091#1102#1097#1080#1081' '#1087#1086' '#1087#1086#1088#1103#1076#1082#1091' '#1085#1086#1084#1077#1088
        AllowAllUp = True
        GroupIndex = 1
        Glyph.Data = {
          42010000424D4201000000000000760000002800000015000000110000000100
          040000000000CC00000000000000000000001000000010000000000000000000
          80000080000000808000800000008000800080800000C0C0C000808080000000
          FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
          777777777000777777777777777777777000788778878877788778877000F087
          F0800087F08780087000F087F080FF08F08F0FF08000F087F0808F08F08F08F0
          8000F08870808F08F08F08F08000F00000808F08F08F08F08000F07FF0808F0F
          F08808F08000F087F08000700000F0087000F087F080087FFFFF7FF77000F087
          F08080877777777770007F087080808777777777700077F0008F0F7777777777
          7000777FFF77F777777777777000777777777777777777777000777777777777
          777777777000}
        ParentShowHint = False
        ShowHint = True
        Visible = False
        OnClick = sbAutoClick
      end
      object dbceDog: TRxDBComboEdit
        Left = 8
        Top = 25
        Width = 97
        Height = 21
        DataField = 'DOG'
        DataSource = TalonOutRefForm.ds
        GlyphKind = gkDropDown
        NumGlyphs = 1
        TabOrder = 0
        OnButtonClick = dbceDogDblClick
        OnChange = dbceDogChange
        OnDblClick = dbceDogDblClick
      end
      object dbdeDogDate: TDBDateEdit
        Left = 132
        Top = 25
        Width = 97
        Height = 21
        DataField = 'DOG_DATE'
        DataSource = TalonOutRefForm.ds
        DirectInput = False
        ButtonWidth = 20
        NumGlyphs = 2
        TabOrder = 1
      end
      object gbSum: TGroupBox
        Left = 2
        Top = 47
        Width = 231
        Height = 46
        Align = alBottom
        Caption = #1057#1091#1084#1084#1099
        TabOrder = 2
        object LabelSumDog: TLabel
          Left = 8
          Top = 13
          Width = 64
          Height = 13
          Caption = #1087#1086' '#1076#1086#1075#1086#1074#1086#1088#1091':'
        end
        object LabelSumNN: TLabel
          Left = 104
          Top = 13
          Width = 76
          Height = 13
          Caption = #1087#1086' '#1085#1072#1082#1083#1072#1076#1085#1099#1084':'
        end
        object LSumDog: TLabel
          Left = 8
          Top = 29
          Width = 3
          Height = 13
        end
        object LSumNN: TLabel
          Left = 104
          Top = 29
          Width = 3
          Height = 13
        end
        object LblCapGbSum: TLabel
          Left = 8
          Top = 0
          Width = 36
          Height = 13
          Caption = #1057#1091#1084#1084#1099
        end
      end
    end
    object gbDoverenost: TGroupBox
      Left = 0
      Top = 191
      Width = 235
      Height = 79
      Align = alTop
      Caption = #1056#1072#1089#1093#1086#1076#1085#1072#1103' '#1085#1072#1082#1083#1072#1076#1085#1072#1103
      TabOrder = 3
      object lDovSerNum: TLabel
        Left = 9
        Top = 37
        Width = 163
        Height = 13
        Caption = #1057#1077#1088#1080#1103'        '#1053#1086#1084#1077#1088'                '#1044#1072#1090#1072
      end
      object lDov: TLabel
        Left = 8
        Top = 15
        Width = 68
        Height = 13
        Caption = #1044#1086#1074#1077#1088#1077#1085#1086#1089#1090#1100
      end
      object LblCapGbDov: TLabel
        Left = 8
        Top = 0
        Width = 111
        Height = 13
        Caption = #1056#1072#1089#1093#1086#1076#1085#1072#1103' '#1085#1072#1082#1083#1072#1076#1085#1072#1103
      end
      object dbeDovName: TDBEdit
        Left = 88
        Top = 15
        Width = 141
        Height = 21
        DataField = 'DOV_NAME'
        DataSource = TalonOutRefForm.ds
        TabOrder = 0
      end
      object dbeDovSer: TDBEdit
        Left = 9
        Top = 53
        Width = 46
        Height = 21
        DataField = 'DOV_SER'
        DataSource = TalonOutRefForm.ds
        TabOrder = 1
      end
      object dbeDovNum: TDBEdit
        Left = 65
        Top = 53
        Width = 77
        Height = 21
        DataField = 'DOV_NUM'
        DataSource = TalonOutRefForm.ds
        TabOrder = 2
        OnKeyPress = dbeDovNumKeyPress
      end
      object dbdeDovDate: TDBDateEdit
        Left = 145
        Top = 53
        Width = 86
        Height = 21
        DataField = 'DOV_DATE'
        DataSource = TalonOutRefForm.ds
        NumGlyphs = 2
        TabOrder = 3
      end
    end
    object gbPrice: TGroupBox
      Left = 0
      Top = 270
      Width = 235
      Height = 63
      Align = alTop
      Caption = #1062#1077#1085#1099
      DockSite = True
      TabOrder = 4
      object sbPrice: TSpeedButton
        Left = 3
        Top = 25
        Width = 18
        Height = 18
        Hint = #1047#1072#1075#1088#1091#1079#1080#1090#1100' '#1087#1086#1089#1083#1077#1076#1085#1080#1077' '#1094#1077#1085#1099
        Glyph.Data = {
          76010000424D7601000000000000760000002800000020000000100000000100
          0400000000000001000000000000000000001000000010000000000000000000
          800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
          FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
          3333333333333333333333333333333333333333333333333333333333333333
          3333333333333333333333333333333333333333333FF3333333333333003333
          3333333333773FF3333333333309003333333333337F773FF333333333099900
          33333FFFFF7F33773FF30000000999990033777777733333773F099999999999
          99007FFFFFFF33333F7700000009999900337777777F333F7733333333099900
          33333333337F3F77333333333309003333333333337F77333333333333003333
          3333333333773333333333333333333333333333333333333333333333333333
          3333333333333333333333333333333333333333333333333333}
        NumGlyphs = 2
        OnClick = sbPriceClick
      end
      object DBText6: TDBText
        Left = 150
        Top = 43
        Width = 42
        Height = 13
        AutoSize = True
        DataField = 'NUM'
        DataSource = dsTalon
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlue
        Font.Height = -11
        Font.Name = 'MS Sans Serif'
        Font.Style = []
        ParentFont = False
      end
      object DBText5: TDBText
        Left = 118
        Top = 43
        Width = 42
        Height = 13
        AutoSize = True
        DataField = 'SER'
        DataSource = dsTalon
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlue
        Font.Height = -11
        Font.Name = 'MS Sans Serif'
        Font.Style = []
        ParentFont = False
      end
      object Label15: TLabel
        Left = 5
        Top = 43
        Width = 102
        Height = 13
        Caption = #1054#1087#1077#1088#1072#1094#1080#1080' '#1087#1086' '#1090#1072#1083#1086#1085#1091
      end
      object lPrice: TLabel
        Left = 27
        Top = 12
        Width = 198
        Height = 13
        Caption = #1040'-76  A-80   '#1040'-92   '#1040'-95  '#1040'-98    '#1044#1058'    '#1043#1072#1079
      end
      object ce76: TCurrencyEdit
        Left = 23
        Top = 25
        Width = 29
        Height = 18
        AutoSize = False
        Ctl3D = False
        DisplayFormat = '0.00'
        ParentCtl3D = False
        TabOrder = 0
      end
      object ce80: TCurrencyEdit
        Left = 53
        Top = 25
        Width = 29
        Height = 18
        AutoSize = False
        Ctl3D = False
        DisplayFormat = '0.00'
        ParentCtl3D = False
        TabOrder = 1
      end
      object ce92: TCurrencyEdit
        Left = 83
        Top = 25
        Width = 29
        Height = 18
        AutoSize = False
        Ctl3D = False
        DisplayFormat = '0.00'
        ParentCtl3D = False
        TabOrder = 2
      end
      object ce95: TCurrencyEdit
        Left = 113
        Top = 25
        Width = 29
        Height = 18
        AutoSize = False
        Ctl3D = False
        DisplayFormat = '0.00'
        ParentCtl3D = False
        TabOrder = 3
      end
      object ce98: TCurrencyEdit
        Left = 143
        Top = 25
        Width = 29
        Height = 18
        AutoSize = False
        Ctl3D = False
        DisplayFormat = '0.00'
        ParentCtl3D = False
        TabOrder = 4
      end
      object ceDT: TCurrencyEdit
        Left = 173
        Top = 25
        Width = 29
        Height = 18
        AutoSize = False
        Ctl3D = False
        DisplayFormat = '0.00'
        ParentCtl3D = False
        TabOrder = 5
      end
      object ceGaz: TCurrencyEdit
        Left = 203
        Top = 25
        Width = 29
        Height = 18
        AutoSize = False
        Ctl3D = False
        DisplayFormat = '0.00'
        ParentCtl3D = False
        TabOrder = 6
      end
    end
  end
  object qWork: TOilQuery
    SQL.Strings = (
      '/*'#1080#1089#1087#1086#1083#1100#1079#1091#1077#1090#1100#1089#1103' '#1076#1083#1103' '#1085#1072#1093#1086#1078#1076#1077#1085#1080#1103' '#1082#1072#1082#1080#1093'-'#1090#1086' '#1076#1072#1085#1085#1099#1093' '#1087#1086' '#1093#1086#1076#1091' '#1088#1072#1073#1086#1090#1099'*/')
    RequestLive = False
    UpdateMode = upWhereAll
    Left = 120
    Top = 352
  end
  object SP: TOilStoredProc
    Left = 32
    Top = 120
  end
  object qTalon: TOilQuery
    SQL.Strings = (
      'select /*+ORDERED USE_NL(t, npg, a, e)*/'
      ' t.*,'
      ' npg.Name as NPGrpName,'
      ' a.Numb,'
      ' e.F_Name || '#39' '#39' || substr(e.I_Name, 1, 1) ||'
      ' Decode(e.I_Name, '#39#39', '#39' '#39', '#39'.'#39') || substr(e.O_Name, 1, 1) ||'
      ' Decode(e.O_Name, '#39#39', '#39' '#39', '#39'.'#39') as Driver'
      
        '  from Oil_Talon_Data t, Oil_NP_Group npg, Oil_Auto a, Oil_Emplo' +
        'y e'
      ' where t.State = '#39'Y'#39
      '   and t.Head_Id = :Id'
      '   and t.Head_Inst = :Inst'
      '   and t.NPGrp_Id = npg.Id'
      '   and t.Auto_Id = a.Id(+)'
      '   and t.Auto_Inst = a.Inst(+)'
      '   and t.Employ_Id = e.Id(+)'
      '   and t.Employ_Inst = e.Inst(+)')
    MasterSource = TalonOutRefForm.ds
    CachedUpdates = True
    Options.RequiredFields = False
    UpdateObject = uTalon
    BeforePost = qTalonBeforePost
    AfterPost = qTalonAfterPost
    BeforeDelete = qTalonBeforeDelete
    AfterDelete = qTalonAfterPost
    DataSource = TalonOutRefForm.ds
    RequestLive = False
    UpdateMode = upWhereChanged
    Left = 144
    Top = 128
    ParamData = <
      item
        DataType = ftFloat
        Name = 'ID'
      end
      item
        DataType = ftFloat
        Name = 'INST'
      end>
  end
  object dsTalon: TOraDataSource
    DataSet = qTalon
    Left = 192
    Top = 128
  end
  object uTalon: TOraUpdateSQL
    ModifySQL.Strings = (
      'update OIL_TALON_DATA'
      'set'
      '  NPGRP_ID = :NPGRP_ID,'
      '  SER = :SER,'
      '  NUM = :NUM,'
      '  NOMINAL = :NOMINAL,'
      '  PRICE = :PRICE,'
      '  AUTO_ID = :AUTO_ID,'
      '  AUTO_INST = :AUTO_INST,'
      '  EMPLOY_ID = :EMPLOY_ID,'
      '  EMPLOY_INST = :EMPLOY_INST,'
      '  CODE_OBL = :CODE_OBL'
      'where'
      '  ID = :OLD_ID and'
      '  INST = :OLD_INST')
    InsertSQL.Strings = (
      'insert into OIL_TALON_DATA'
      
        '  (ID, INST, STATE, HEAD_ID, HEAD_INST, NPGRP_ID, SER, NUM, NOMI' +
        'NAL, '
      'PRICE, AUTO_ID, AUTO_INST, EMPLOY_ID, EMPLOY_INST, CODE_OBL)'
      'values'
      
        '  (:ID, :INST, '#39'Y'#39', :HEAD_ID, :HEAD_INST, :NPGRP_ID, :SER, :NUM,' +
        ' '
      
        ':NOMINAL, :PRICE, :AUTO_ID, :AUTO_INST, :EMPLOY_ID, :EMPLOY_INST' +
        ', '
      ':CODE_OBL)')
    DeleteSQL.Strings = (
      'update OIL_TALON_DATA'
      'set STATE = '#39'N'#39
      'where'
      '  ID = :OLD_ID and'
      '  INST = :OLD_INST')
    Left = 232
    Top = 128
  end
  object qCheckUp: TOilQuery
    SQL.Strings = (
      'select *'
      '  from (select Date_ + 0.1 as Prih_Date, 1'
      '          from V_Oil_Talon_Op'
      '         where Tip = '#39'P'#39
      '           and Dep_Id = :Inst'
      '           and Ser = :Ser'
      '           and Num = :Num'
      '           and Date_ >= :Date_'
      '        union'
      '        select Date_, 2'
      '          from V_Oil_Talon_Op'
      '         where Tip = '#39'O'#39
      '           and Dep_Id = :Inst'
      '           and Ser = :Ser'
      '           and Num = :Num'
      
        '           and not ((head_id = :MainId) and (head_Inst = :MainIn' +
        'st))'
      '           and Date_ >= :Date_)'
      ' order by Prih_Date desc')
    AutoCalcFields = False
    RequestLive = False
    UpdateMode = upWhereAll
    Left = 32
    Top = 264
    ParamData = <
      item
        DataType = ftInteger
        Name = 'Inst'
      end
      item
        DataType = ftString
        Name = 'ser'
      end
      item
        DataType = ftInteger
        Name = 'num'
      end
      item
        DataType = ftUnknown
        Name = 'Date_'
      end
      item
        DataType = ftInteger
        Name = 'MainId'
      end
      item
        DataType = ftInteger
        Name = 'MainInst'
      end>
  end
  object qCheckDown: TOilQuery
    SQL.Strings = (
      'select decode(Tip, '#39'P'#39', Date_ + 0.1, Date_) as Prih_Date,'
      '       decode(Tip, '#39'P'#39', 1, 2),'
      '       Nominal,'
      '       NPGrp_Id,'
      '       Srep_id,'
      '       Srep_inst'
      '  from V_Oil_Talon_Op'
      ' where Dep_Id = :Inst'
      '   and Ser = :Ser'
      '   and Num = :Num'
      '   and Date_ < :Date_'
      ' order by Prih_Date desc')
    AutoCalcFields = False
    RequestLive = False
    UpdateMode = upWhereAll
    Left = 32
    Top = 312
    ParamData = <
      item
        DataType = ftInteger
        Name = 'Inst'
      end
      item
        DataType = ftString
        Name = 'ser'
      end
      item
        DataType = ftInteger
        Name = 'num'
      end
      item
        DataType = ftUnknown
        Name = 'Date_'
      end>
  end
  object dsTalonDetail: TOraDataSource
    DataSet = qTalonDetail
    OnDataChange = dsTalonDetailDataChange
    Left = 528
    Top = 416
  end
  object PopupMenu1: TPopupMenu
    Left = 184
    Top = 240
    object N1: TMenuItem
      Caption = #1054#1090#1087#1091#1089#1082' '#1076#1080#1072#1087#1072#1079#1086#1085#1072
      OnClick = N1Click
    end
  end
  object qSum: TOilQuery
    SQL.Strings = (
      
        'select count(*) as Amount, sum(Nominal) as Litr, sum(Price * Nom' +
        'inal) as Whole'
      '  from Oil_Talon_Data'
      ' where State = '#39'Y'#39
      '   and Head_Id = :Id'
      '   and Head_Inst = :Inst'
      ' '
      ' ')
    AutoCalcFields = False
    RequestLive = False
    UpdateMode = upWhereAll
    Left = 152
    Top = 352
    ParamData = <
      item
        DataType = ftInteger
        Name = 'ID'
      end
      item
        DataType = ftInteger
        Name = 'INST'
      end>
  end
  object dsSum: TOraDataSource
    DataSet = qSum
    Left = 184
    Top = 352
  end
  object qTalonDetail: TOilQuery
    SQL.Strings = (
      '/* '#1047#1072#1087#1088#1086#1089' '#1084#1077#1085#1103#1077#1090#1089#1103' '#1085#1072' '#1083#1077#1090#1091' - '#1085#1077' '#1084#1077#1085#1103#1090#1100' '#1087#1086#1088#1103#1076#1086#1082' '#1089#1090#1088#1086#1082'! */'
      'select decode(Tip, '#39'P'#39', '#39#1055#1088#1080#1093#1086#1076#39', '#39#1054#1090#1087#1091#1089#1082#39') as Title,'
      '       Date_ as Prih_Date,'
      '       decode(Tip, '#39'P'#39', 2, 1),'
      '       Head_Num as Prih_Num,'
      
        '       decode(Tip, '#39'P'#39', '#39#1055#1088#1080#1093#1086#1076' '#39', '#39#1054#1090#1087#1091#1089#1082' '#39') || to_char(Date_) ' +
        '||'
      '       to_char(Head_Num) AllOper'
      '  from V_Oil_Talon_Op'
      ' where Ser = :Ser'
      '   and Num = :Num'
      '   and Code_Obl = :code_obl'
      ' order by 2 desc, 3 desc')
    MasterSource = dsTalon
    AutoCalcFields = False
    DataSource = dsTalon
    RequestLive = False
    UpdateMode = upWhereAll
    Left = 520
    Top = 424
    ParamData = <
      item
        DataType = ftString
        Name = 'SER'
      end
      item
        DataType = ftFloat
        Name = 'NUM'
      end
      item
        DataType = ftUnknown
        Name = 'code_obl'
      end>
  end
  object qCheckDouble: TOilQuery
    SQL.Strings = (
      'select Id, Inst'
      '  from Oil_Talon_Data'
      ' where State = '#39'Y'#39
      '   and Head_Id = :Head_Id'
      '   and Head_Inst = :Head_Inst'
      '   and Ser = :Ser'
      '   and Num = :Num'
      '   and not(Id = :Id and Inst = :Inst)')
    RequestLive = False
    UpdateMode = upWhereAll
    Left = 32
    Top = 200
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'Head_Id'
      end
      item
        DataType = ftUnknown
        Name = 'Head_Inst'
      end
      item
        DataType = ftUnknown
        Name = 'Ser'
      end
      item
        DataType = ftUnknown
        Name = 'Num'
      end
      item
        DataType = ftUnknown
        Name = 'Id'
      end
      item
        DataType = ftUnknown
        Name = 'Inst'
      end>
  end
  object qCheckerNN: TOilQuery
    SQL.Strings = (
      '/*vidaet symmy i kolichestvo dlia NN*/'
      
        'Select (nvl(otp.sum_otp,0) - nvl(nnExist.sum_nn,0)) sum, /*syma ' +
        'NN po konkretnomy NP*/'
      '       (nvl(otp.Count_otp,0) - nvl(nnExist.Count_,0)) count_,'
      '        otp.price price,'
      '        otp.np_id np_id,'
      '        otp.np_grp_id'
      '  from'
      '        (Select'
      
        '                decode(td.NPGrp_Id, 4,6, 6,4, 7,5, 3,46 ,10,138,' +
        ' 62,675,5,48) np_id,'
      '                td.NPGrp_Id np_grp_id,'
      '                max(td.Price) price,'
      '                sum(td.nominal) Count_otp,'
      '                ( max(td.Price) * sum(td.nominal) ) sum_otp'
      '           from Oil_Talon_Data td'
      '          where td.State = '#39'Y'#39
      '            and td.Head_Id = :Head_ID'
      '            and td.Head_Inst = :Head_INST'
      '          group by td.NPGrp_Id'
      '          )otp,'
      '        (select /*pozicii nn y*e vipisanim*/'
      '                nvl(sum(g.sum_nn),0) sum_nn,'
      '                nvl(sum(g.count_),0) count_,'
      '                NP.GRP_ID np_grp_id'
      '           from'
      '                OIL_NP_TYPE NP, OIL_DOG d,'
      '                ('
      '                select /*symma po oplatnim NN*/'
      '                       nvl(sum(bd.nds_t), 0) sum_nn,'
      '                       bd.tov_id,'
      '                       bd.kol count_,'
      '                       bd.nds_t'
      '                  from Oil_Sale_Book sb,'
      '                       Oil_sale_book_det bd,'
      '                       oil_dog d,'
      '                       oil_money m'
      '                 where sb.id = bd.nn_id(+)'
      '                   and sb.inst = bd.nn_inst(+)'
      '                   and sb.state = '#39'Y'#39
      '                   and bd.state = '#39'Y'#39
      '                   and d.id = :dog_id'
      '                   and d.inst = :dog_inst'
      '                   and sb.id = m.nn_id'
      '                   and sb.inst = m.nn_inst'
      '                   and d.id = m.dog_id'
      '                   and d.inst = m.dog_inst'
      '                 group by bd.id, bd.tov_id, bd.kol, bd.nds_t) g'
      '          where g.tov_id = NP.id'
      '            and d.id = :dog_id'
      '            and d.inst = :dog_inst'
      '            and d.dog_type in('#39'Y'#39')'
      '          group by NP.GRP_ID'
      '         ) nnExist'
      ' where nnExist.np_grp_id(+) = otp.np_grp_id'
      '   and nvl(otp.sum_otp,0) - nvl(nnExist.sum_nn,0) > 0'
      '   and nvl(otp.Count_otp,0) - nvl(nnExist.Count_,0) > 0')
    RequestLive = False
    UpdateMode = upWhereAll
    Left = 352
    Top = 288
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'Head_ID'
      end
      item
        DataType = ftUnknown
        Name = 'Head_INST'
      end
      item
        DataType = ftUnknown
        Name = 'dog_id'
      end
      item
        DataType = ftUnknown
        Name = 'dog_inst'
      end
      item
        DataType = ftUnknown
        Name = 'dog_id'
      end
      item
        DataType = ftUnknown
        Name = 'dog_inst'
      end>
  end
  object qCheckerDog: TOilQuery
    SQL.Strings = (
      '/*proveriaet sootvetstvie s dogovorom*/'
      'select round(nvl(dog.symma,0) - nvl(otpysk.symma,0),2)razn_sum,'
      
        '       round(nvl(dog.count_,0) - nvl(otpysk.count_,0),2)razn_cou' +
        'nt,'
      '       dog.*,'
      '       otpysk.*'
      
        '  from (select /*POZICII dogovora*//*+ORDERED USE_NL(OIL_DOG_DET' +
        'AIL, NP, NPB, DM)*/'
      '               d.id,'
      '               d.dog_id,'
      '               d.Dog_Inst,'
      '               d.count_,'
      '               round(d.price2 * d.count_,2) symma,'
      '               NP.NAME as NPNAME,'
      '               NP.NP_GRP as NP_GRP_ID,'
      '               DM.NAME DIM_NAME'
      '          from OIL_DOG_DETAIL d,'
      '               v_OIL_NP_TYPE NP,'
      '               OIL_NP_TYPE NPB,'
      '               OIL_DIMENSION DM'
      '         where d.STATE = '#39'Y'#39
      '           and d.DOG_ID = :dog_id'
      '           and d.DOG_INST = :dog_inst'
      '           and d.NP_TYPE = NP.ID (+)'
      '           and d.BARTERNP = NPB.ID (+)'
      '           and d.DIM_ID = DM.ID (+)'
      '         )dog,'
      '       (Select /*POZICII otpyska*/'
      
        '               decode(td.NPGrp_Id, 4,6, 6,4, 7,5, 3,46 ,10,138, ' +
        '62,675,5,48) np_type,'
      '               td.NPGrp_Id NP_GRP_ID,'
      '               max(td.Price) price,'
      '               sum(td.nominal) count_,'
      '               round( max(td.Price) * sum(td.nominal),2 ) symma,'
      '               count(*) cnt'
      '          from Oil_Talon_Data td'
      '         where td.State = '#39'Y'#39
      '           and td.Head_Id = :head_id'
      '           and td.Head_Inst = :head_inst'
      '           and not (td.ser = :ser and td.num = :num)'
      '         group by td.NPGrp_Id, td.npgrp_id, td.Price'
      '         )otpysk'
      ' where dog.np_grp_id = otpysk.np_grp_id(+)')
    RequestLive = False
    UpdateMode = upWhereAll
    Left = 352
    Top = 336
    ParamData = <
      item
        DataType = ftInteger
        Name = 'dog_id'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'dog_inst'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'head_id'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'head_inst'
        ParamType = ptInput
      end
      item
        DataType = ftString
        Name = 'ser'
        ParamType = ptInput
      end
      item
        DataType = ftInteger
        Name = 'num'
        ParamType = ptInput
      end>
  end
  object qCheckDateNN: TOilQuery
    RequestLive = False
    UpdateMode = upWhereAll
    Left = 352
    Top = 384
  end
  object qPrice: TOilQuery
    Session = frmStart.OraSession1
    SQL.Strings = (
      'select npgrp_id,'
      '       to_number(ltrim(substr(max(to_char(date_, '#39'YYYYMMDD'#39') ||'
      '                                  lpad(to_char(price), 6)),'
      '                              9))) price'
      '  from v_oil_talon_op'
      ' where Tip = '#39'O'#39
      '   and date_ between :date_ - 10 and :date_'
      ' group by npgrp_id')
    RequestLive = False
    UpdateMode = upWhereAll
    Left = 352
    Top = 240
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'date_'
      end>
  end
  object SD: TSaveDialog
    Filter = 'dbf|*.dbf*|All files|* *'
    Left = 273
    Top = 128
  end
  object MTCode: TMemoryTable
    AutoRefresh = True
    Left = 308
    Top = 128
    object MTCodeTALON: TStringField
      FieldName = 'TALON'
    end
  end
  object DSCode: TOraDataSource
    DataSet = MTCode
    Left = 352
    Top = 128
  end
  object qDog: TOilQuery
    Session = frmStart.OraSession1
    SQL.Strings = (
      'select /*+ORDERED USE_NL(OIL_DOG_DETAIL, NP, NPB, DM)*/'
      '       d.id, '
      '       d.dog_id, '
      '       d.Dog_Inst, '
      '       d.count_, '
      '       round(d.price2 * d.count_, 2) symma,'
      '       NP.NAME as NPNAME, '
      '       NP.NP_GRP as NP_GRP_ID, '
      '       DM.NAME DIM_NAME'
      '  from OIL_DOG_DETAIL d, '
      '       V_OIL_NP_TYPE NP, '
      '       V_OIL_NP_TYPE NPB, '
      '       OIL_DIMENSION DM'
      ' where d.STATE = '#39'Y'#39
      '   and d.DOG_ID = :dog_id'
      '   and d.DOG_INST = :dog_inst'
      '   and d.NP_TYPE = NP.ID(+)'
      '   and d.BARTERNP = NPB.ID(+)'
      '   and d.DIM_ID = DM.ID(+)')
    RequestLive = False
    UpdateMode = upWhereAll
    Left = 296
    Top = 341
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'dog_id'
      end
      item
        DataType = ftUnknown
        Name = 'dog_inst'
      end>
  end
  object qTalonSum: TOilQuery
    Session = frmStart.OraSession1
    SQL.Strings = (
      'Select /*POZICII otpyska*/'
      '       td.NPGrp_Id,'
      '       td.Price price,'
      '       sum(td.nominal) count_,'
      '       round( td.Price * sum(td.nominal),2 ) symma,'
      '       count(*) cnt'
      '  from Oil_Talon_Data td'
      ' where td.State = '#39'Y'#39
      '   and td.Head_Id = :head_id'
      '   and td.Head_Inst = :head_inst'
      '   and not (td.ser = :ser and td.num = :num)'
      '   and td.npgrp_id=:np_grp_id'
      ' group by td.npgrp_id, td.Price')
    RequestLive = False
    UpdateMode = upWhereAll
    Left = 257
    Top = 342
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'head_id'
      end
      item
        DataType = ftUnknown
        Name = 'head_inst'
      end
      item
        DataType = ftUnknown
        Name = 'ser'
      end
      item
        DataType = ftUnknown
        Name = 'num'
      end
      item
        DataType = ftUnknown
        Name = 'np_grp_id'
      end>
  end
  object qCheckWay: TOilQuery
    Session = frmStart.OraSession1
    SQL.Strings = (
      'select srt.intheway'
      '  from oil_srtalon srt, oil_dr_data dr'
      ' where srt.state = '#39'Y'#39
      '   and dr.state = '#39'Y'#39
      '   and srt.srep_id = dr.id'
      '   and srt.srep_Inst = dr.inst'
      '   and dr.oper_type = 1'
      '   and dr.rep_id = :Rep_id'
      '   and dr.rep_inst = :Rep_inst'
      '   and Ser = :Ser'
      '   and Num = :Num'
      '   and intheway = 4')
    AutoCalcFields = False
    RequestLive = False
    UpdateMode = upWhereAll
    Left = 32
    Top = 360
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'Rep_id'
      end
      item
        DataType = ftUnknown
        Name = 'Rep_inst'
      end
      item
        DataType = ftString
        Name = 'ser'
      end
      item
        DataType = ftInteger
        Name = 'num'
      end>
  end
end
